package com.mofeng.myshop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mofeng.myshop.domain.po.OrderFrom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author MoFeng
 * @since 2024-04-17
 */
public interface OrderFromMapper extends BaseMapper<OrderFrom> {

    Page<OrderFrom> findList(@Param("keyword") String keyword, @Param("state") String state,
                             @Param("userId") Long userId, @Param("projectId") Long projectId,
                             @Param("categoryId") Long categoryId, @Param("startTime") Date startTime,
                             @Param("endTime") Date endTime, @Param("delete") String delete,
                             Page<OrderFrom> pageMp);
}
